Skip to content

Add docs on Address::fromString #12128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

gisostallenberg
Copy link
Contributor

Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition, can you please apply my suggestions?

@gisostallenberg
Copy link
Contributor Author

Nice addition, can you please apply my suggestions?

Sure, done

@javiereguiluz javiereguiluz added the Waiting Code Merge Docs for features pending to be merged label Aug 9, 2019
fabpot added a commit to symfony/symfony that referenced this pull request Aug 22, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

[Mime] Add Address::fromString

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #33086
| License       | MIT
| Doc PR        | symfony/symfony-docs#12128

This will allow to create a Address from a string such as 'Name <name@example.com>'
Example:
```php
$address = Address::fromString("Name <name@example.com>");
```

Commits
-------

75ea8d0 Add Address::fromString
@gisostallenberg gisostallenberg force-pushed the named-address-from-string branch from 0261ef1 to 7422b24 Compare August 22, 2019 09:18
@gisostallenberg
Copy link
Contributor Author

@OskarStark updated this according to symfony/symfony#33091

@OskarStark OskarStark removed the Waiting Code Merge Docs for features pending to be merged label Aug 22, 2019
@OskarStark
Copy link
Contributor

Can you please apply my comment and fix the one mentioned by DOCtor-RST? Thanks.

@OskarStark OskarStark added this to the 4.4 milestone Aug 22, 2019
symfony-splitter pushed a commit to symfony/mime that referenced this pull request Aug 22, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

[Mime] Add Address::fromString

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #33086
| License       | MIT
| Doc PR        | symfony/symfony-docs#12128

This will allow to create a Address from a string such as 'Name <name@example.com>'
Example:
```php
$address = Address::fromString("Name <name@example.com>");
```

Commits
-------

75ea8d0d67 Add Address::fromString
@gisostallenberg gisostallenberg changed the title Add docs on NamedAddress::fromString Add docs on Address::fromString Aug 23, 2019
@gisostallenberg
Copy link
Contributor Author

Can you please apply my comment and fix the one mentioned by DOCtor-RST? Thanks.

@OskarStark done

@javiereguiluz javiereguiluz force-pushed the named-address-from-string branch from 858619c to 36960eb Compare September 2, 2019 11:04
javiereguiluz added a commit that referenced this pull request Sep 2, 2019
This PR was squashed before being merged into the 4.4 branch (closes #12128).

Discussion
----------

Add docs on Address::fromString

See symfony/symfony#33086

Commits
-------

36960eb Add docs on Address::fromString
@javiereguiluz javiereguiluz merged commit 36960eb into symfony:4.4 Sep 2, 2019
@javiereguiluz
Copy link
Member

Giso, thanks for adding the docs for this feature that you also contributed. Congrats on your first Symfony Docs contribution!

javiereguiluz added a commit that referenced this pull request Oct 18, 2019
… 4.3 (ogizanagi)

This PR was merged into the 4.3 branch.

Discussion
----------

[Mailer][Mime] Address::fromString() is not available in 4.3

It was added in #12128 (4.4)

So beware this change should not be merged up. Only merged to 4.3.

Commits
-------

48c0100 [Mailer] Address::fromString() is not available in 4.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants